Component({
  data: {
    order: {},
    refundRecord: {},
  },
  methods: {
    onLoad() {
      const eventChannel = this.getOpenerEventChannel()
      eventChannel.on('order', (data) => {
        let order = data.order;
        let refundRecord = data.refundRecord;
        this.setData({order, refundRecord})
      })
    }
  }
})
